package cn.yuanqiao.archive.webservice.service;

import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name = "saveArchive",    //该名字可自定义
        targetNamespace = "http://service.webservice.archive.yuanqiao.cn"    // 该URL一般为当前包名的倒序
)
public interface ArchiveWebService {
    String saveArchive(@WebParam(name = "archiveCode") String archiveCode,@WebParam(name = "fileMD5") String fileMD5,@WebParam(name = "data") String data);

    String saveOnlineArchive(@WebParam(name = "paketInfo") String paketInfo);

    /**
     * 归档接口增强版
     * 可归档项目、案卷、件
     * @param archiveCode
     * @param fileMD5
     * @param data
     * @return
     */
    String saveArchiveEnhance(@WebParam(name = "archiveCode") String archiveCode,@WebParam(name = "archiveType") String archiveType,@WebParam(name = "fileMD5") String fileMD5,@WebParam(name = "data") String data);
}
